package com.alennus.blog.repository;

import com.alennus.blog.domain.Account;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created by pactera on 2018/5/14.
 */
public interface AccountRepository extends MongoRepository<Account,String> {

    Account findByAccount(String account);

}
